import axios from 'axios'
import qs from 'qs'

// 面试宝典
export function  getMsbdData(params){
    return axios({
        url:"/msbdApi/get-msbd",
        method:'get',
        params
    })
} 
// 添加
export function addMsbdData(data){
   return axios({
        method:"post",
        url:"/msbdApi/save-msbd",
        data
    })
}

// 修改
export function updateMsbdData(data){
    console.log(data);
    return axios({
        method:"post",
        url:"/msbdApi/update-msbd",
        data
    })
}

// 删除
export function delMsbdData(params){
    console.log(params);
    return axios({
        method:"get",
        url:"/msbdApi/delete-msbd",
        params
    })
}